#include <stdio.h>
 
int main()
{
    int a = 3;
    int b = 4;
    int max = 0;
    //常规if判断
    if(a > b)
        max = a;
    else
        max = b;
    printf("两数较大的是：%d\n", max);
    //表达式判断
    max = a > b ? a : b;
    printf("max = %d\n", max);
    return 0;
}